package com.zzf.mall.order.fegin;

import com.zzf.common.utils.R;
import com.zzf.mall.order.vo.LockStockResult;
import com.zzf.mall.order.vo.WareSkuLockVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author 赵振飞
 * @Date 2022/11/3
 * @Version 1.0
 */
@FeignClient("mall-ware")
public interface WareFeginService {

    @PostMapping ("/ware/waresku/lock/order")
    public R orderLockStock(@RequestBody WareSkuLockVO vo);
}
